def listen(origin, field):
    bak = origin
    for index_i, value_i in origin.__dict__.items():
        try:
            if getattr(getattr(bak, index_i), field) != getattr(value_i, field):
                print(
                    f"{index_i} 的 {field} 发生改变 {getattr(getattr(bak, index_i), field)} -> {getattr(value_i, field)}"
                )
        except AttributeError:
            pass
